From 553a9591020cad529fc92fe8fb6f28f0c34624ab Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 24 Feb 2021 20:03:48 -0500 Subject: [PATCH] drawcontext: Add property annotations Connect properties, getters, and setters with annotations. --- gdk/gdkdrawcontext.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gdk/gdkdrawcontext.c b/gdk/gdkdrawcontext.c index 451b7499ab..4135ed4e4e 100644 --- a/gdk/gdkdrawcontext.c +++ b/gdk/gdkdrawcontext.c @@ -139,7 +139,7 @@ gdk_draw_context_class_init (GdkDrawContextClass *klass) klass->surface_resized = gdk_draw_context_default_surface_resized; /** - * GdkDrawContext:display: + * GdkDrawContext:display: (attributes org.gtk.Property.get=gdk_draw_context_get_display) * * The `GdkDisplay` used to create the `GdkDrawContext`. */ @@ -152,7 +152,7 @@ gdk_draw_context_class_init (GdkDrawContextClass *klass) G_PARAM_STATIC_STRINGS); /** - * GdkDrawContext:surface: + * GdkDrawContext:surface: (attributes org.gtk.Property.get=gdk_draw_context_get_surface) * * The `GdkSurface` the context is bound to. */ @@ -214,7 +214,7 @@ gdk_draw_context_surface_resized (GdkDrawContext *context) } /** - * gdk_draw_context_get_display: + * gdk_draw_context_get_display: (attributes org.gtk.Method.get_property=display) * @context: a `GdkDrawContext` * * Retrieves the `GdkDisplay` the @context is created for @@ -232,7 +232,7 @@ gdk_draw_context_get_display (GdkDrawContext *context) } /** - * gdk_draw_context_get_surface: + * gdk_draw_context_get_surface: (attributes org.gtk.Method.get_property=surface) * @context: a `GdkDrawContext` * * Retrieves the surface that @context is bound to. -- 2.30.2